<template>
  <div>
    首页
    <button @click="gotoMicroApp">子应用</button>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";
const router = useRouter();

function gotoMicroApp() {
  router.push("/microApp");
}
</script>

<style scoped></style>
